const { Router } = require('../decorator/router')
const path = require('path')

export async function router(app) {
  const router = new Router(app, path.resolve(__dirname, '../routes'))
  router.init()
}